
/**
 * @description ApInvoiceHeadServiceImpl.java
 * @author dongbin
 * @version 
 * @copyright
 */

package com.erp.common.ap.invoice.service.spring;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.erp.common.ap.invoice.dao.ApInvoiceHeadDao;
import com.erp.common.ap.invoice.service.ApInvoiceHeadService;

/**
 * @description
 * @date 2020年10月8日
 * @author dongbin
 * 
 */
@Service("apInvoiceHeadServiceCommon")
@Transactional(rollbackFor=Exception.class)
public class ApInvoiceHeadServiceImpl implements ApInvoiceHeadService {
    
    //注入Dao
    @Autowired
    @Qualifier("apInvoiceHeadDaoCommon")
    private ApInvoiceHeadDao apInvoiceHeadDao;
    
    @Override
    public boolean isExistApInvoiceRelatePO(String headCode) {
        return this.apInvoiceHeadDao.isExistApInvoiceRelatePO(headCode);
    }

}
